<app-order-count-list [ngClass]="{'show': showDetails, 'hide': !showDetails}" (viewState)="viewState($event)" [orderType]="orderType"></app-order-count-list>
<app-order-count-details [id]="id" *ngIf="!showDetails" (closeDetail)="close($event)"></app-order-count-details>
